import React from 'react';
import {Provider} from 'mobx-react';
import stores from './store/index';
import RootRoute from './route/index';

export default function (): JSX.Element {

    return (
        <Provider {...stores}>
            <RootRoute {...stores}/>
        </Provider>
    );
}
